package com.glink.manage.vo.vehicle;


import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.glink.common.serializer.JsonDate3DeSerializer;
import com.glink.common.serializer.JsonDate3Serializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value="VehicleAccessPageVO对象", description="车辆项目管理-准入项目")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class VehicleAccessPageVO implements Serializable {

    private static final long serialVersionUID = -1771466246009069494L;

    @ApiModelProperty(value = "主键ID")
    private String objId;

    @ApiModelProperty(value = "施工工程ID")
    private String constructionWorkObjId;

    @ApiModelProperty(value = "施工工程ID")
    private String constructionWorkObjName;

    @ApiModelProperty(value = "准入周期开始")
    @JsonSerialize(using = JsonDate3Serializer.class)
    @JsonDeserialize(using = JsonDate3DeSerializer.class)
    private Date cycleStart;

    @ApiModelProperty(value = "准入周期结束")
    @JsonSerialize(using = JsonDate3Serializer.class)
    @JsonDeserialize(using = JsonDate3DeSerializer.class)
    private Date cycleEnd;

    @ApiModelProperty(value = "是否总包")
    private String ifGeneralContracting;
}
